Visual Basic (Declaration) | |
---|---|
Protected Sub RaisePropertyChanged( _ ByVal pname As String, _ ByVal oldval As Object, _ ByVal newval As Object _ ) |
Parameters
- pname
- the property name
- oldval
- the value before the property was set
- newval
- the new value
Only call this method when the property value actually changes. The oldval and newval values are needed to support undo/redo.